/*
 * BiTreeXmlHelper.h
 *
 *  Created on: 2011-5-6
 *      Author: william nie
 */

#include"datadef.h"
#include"BiTree.h"
#include<stdio.h>
#include<stdlib.h>
#include<libxml/parser.h>
#include<libxml/tree.h>
#ifndef BITREEXMLHELPER_H_
#define BITREEXMLHELPER_H_

typedef struct {
	xmlDocPtr doc;
	xmlNodePtr root;
	xmlNodePtr curNode;
}* XmlBiTree;

BiTree* LoadXmlBiTree();

Status SaveXmlBiTree(BiTree* biTree);

#endif /* BITREEXMLHELPER_H_ */
